define(function(require, exports, module) { 
	"require:nomunge,exports:nomunge,module:nomunge";
    var self = exports;
    var utils = require('mokit/utils');
    var service = require('./service');
    var user = require("./User");
	
	//我的社区
	self.mgPath = user.serviceUri + "sypro";
	self.args = {
		userId: user.state.userId
	};
	self.info = {};
	self.getInfo = function(callback){
        service.ucenter.community.getInfo(this.args, function(rs, err) {
            if (err && callback) return callback(err.message || err);
            if (rs.success) {
               	self.info = rs.obj;
                if (callback) callback();
            } else {
                rs = rs || {};
                var msg = rs.msg || 'unknow error';
                if (callback) callback(msg);
            }
        });
	};

});